package cn.bean;

/**
 * Menu entity. @author MyEclipse Persistence Tools
 */

public class Menu implements java.io.Serializable {

	// Fields

	private Long id;
	private String name;
	private String path;
	private String type;
	private Long parent;
	private String channel;
	private String remark;
	private Long accMenuId;
	public Long getAccMenuId() {
		return accMenuId;
	}

	public void setAccMenuId(Long accMenuId) {
		this.accMenuId = accMenuId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	private String[] resultConfig;
	// Constructors

	public String[] getResultConfig() {
		return resultConfig;
	}

	public void setResultConfig(String[] resultConfig) {
		this.resultConfig = resultConfig;
	}

	/** default constructor */
	public Menu() {
	}

	/** minimal constructor */
	public Menu(Long id) {
		this.id = id;
	}

	/** full constructor */
	public Menu(Long id, String name, String path, String type, Long parent,
			String channel) {
		this.id = id;
		this.name = name;
		this.path = path;
		this.type = type;
		this.parent = parent;
		this.channel = channel;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPath() {
		return this.path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Long getParent() {
		return this.parent;
	}

	public void setParent(Long parent) {
		this.parent = parent;
	}

	public String getChannel() {
		return this.channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

}